#include "myableeventfilter.h"

MyableEventFilter::MyableEventFilter(QObject *parent) : QObject(parent)
{


}

bool MyableEventFilter::eventFilter(QObject *watched, QEvent *event)
{
    if(event->type() == QEvent::MouseButtonPress){
        emit click(watched);
    }
    return  QObject::eventFilter(watched,event);
}
